package com.aaa.dao;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import java.util.List;
import java.util.Map;

public interface DeptDao {
	@Select("select filepath,filename from dept")
	List<Map> selectList();
	/*@Insert("insert into dept(dname,filepath,filename) values(#{dname},#{filePath},#{fileName})")
	int add(Map map);*/
	@Update("update dept set filepath=#{filePath} where title=#{title}")
	int add(Map map);

}
